home *** CD-ROM | disk | FTP | other *** search
- ' ***
- ' *** ------------------------------------------------------------------------------
- ' *** Filename: SCTeTrust7VirusUpdate.vbs
- ' *** ------------------------------------------------------------------------------
- ' *** Description: eTrust Virus Signature Update
- ' *** ------------------------------------------------------------------------------
- ' *** Version: 1.0
- ' *** Notes: Used by Windows Disk Protection
- ' *** ------------------------------------------------------------------------------
- ' *** Copyright (C) Microsoft Corporation 2005, All Rights Reserved
- ' *** ------------------------------------------------------------------------------
- ' ***
-
- ' ~~~
- ' ~~~ Force variables to be declared
- ' ~~~
- Option Explicit
-
- ' ~~~
- ' ~~~ Turn on error handling
- ' ~~~
- On Error Resume Next
-
- ' ~~~
- ' ~~~ Declare variables and constants
- ' ~~~
- Dim seTrustPath, oShell
-
- ' ~~~ Create objects
- Set oShell = CreateObject("WScript.Shell")
-
- ' ~~~ Set application path
- seTrustPath = oShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\ScanEngine\Path\Engine")
-
- ' ~~~ Download Virus Signature
- call oShell.Run("""" & seTrustPath & "\InoDist.exe""" & " /cfg " & seTrustPath & "\inodist.ini", 0, True)
-
-
-